package com.aspose.cells;

class zjm {
   static int a(int var0) {
      switch(var0) {
      case 1:
         return -2;
      case 2:
         return -3;
      case 3:
         return -4;
      case 4:
         return -5;
      case 5:
         return -6;
      case 6:
         return -7;
      case 7:
         return -8;
      case 8:
         return -9;
      case 9:
         return -12;
      case 10:
         return -11;
      default:
         return 0;
      }
   }

   static int b(int var0) {
      switch(var0) {
      case 2:
         return 6;
      case 3:
         return 7;
      case 4:
         return 8;
      case 5:
         return 10;
      case 6:
         return 11;
      case 7:
         return 12;
      case 8:
         return 13;
      case 9:
         return 14;
      case 10:
         return 15;
      case 11:
         return 16;
      case 12:
         return 17;
      case 13:
         return 9;
      case 14:
         return 18;
      case 15:
         return 19;
      case 16:
         return 20;
      case 17:
         return 21;
      case 18:
         return 22;
      case 19:
         return 23;
      case 20:
         return 24;
      case 21:
         return 25;
      case 22:
         return 26;
      case 23:
         return 27;
      case 24:
         return 28;
      case 25:
         return 29;
      case 26:
         return 30;
      case 27:
         return 31;
      case 28:
         return 33;
      case 29:
         return 32;
      case 30:
         return 34;
      case 31:
         return 35;
      case 32:
         return 36;
      case 33:
         return 37;
      case 34:
         return 38;
      case 35:
         return 39;
      case 36:
         return 40;
      case 37:
         return 41;
      case 38:
         return 42;
      case 39:
         return 43;
      case 40:
         return 44;
      case 41:
         return 45;
      case 42:
         return 46;
      case 43:
         return 47;
      case 44:
         return 48;
      case 45:
         return 4;
      case 46:
         return 49;
      case 47:
         return 50;
      case 48:
         return 51;
      case 49:
         return 52;
      default:
         return 4;
      }
   }

   static int c(int var0) {
      switch(var0) {
      case 1:
         return 7;
      case 2:
         return 10;
      case 3:
         return 2;
      case 4:
         return 9;
      case 5:
         return 1;
      case 6:
         return 8;
      case 7:
         return 3;
      case 8:
         return 6;
      case 9:
         return 4;
      case 10:
         return 5;
      case 11:
         return 11;
      default:
         return 0;
      }
   }

   static int d(int var0) {
      switch(var0) {
      case 1:
         return 5;
      case 2:
         return 3;
      case 3:
         return 7;
      case 4:
         return 9;
      case 5:
         return 10;
      case 6:
         return 8;
      case 7:
         return 1;
      case 8:
         return 6;
      case 9:
         return 4;
      case 10:
         return 2;
      case 11:
         return 11;
      default:
         return 0;
      }
   }

   static int e(int var0) {
      return var0 == 0 ? 0 : 1;
   }

   static int f(int var0) {
      switch(var0) {
      case 0:
         return 1;
      case 1:
         return 2;
      case 2:
         return 3;
      default:
         return 1;
      }
   }

   static int g(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
         return 2;
      default:
         return 0;
      }
   }

   static int h(int var0) {
      switch(var0) {
      case 1:
         return 1;
      case 2:
         return 2;
      default:
         return 0;
      }
   }

   static int i(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
         return 2;
      case 3:
         return 3;
      case 4:
         return 4;
      case 5:
         return 5;
      case 6:
         return 6;
      case 7:
         return 7;
      case 8:
         return 8;
      case 9:
         return 9;
      case 10:
         return 10;
      case 11:
         return 11;
      case 12:
         return 12;
      case 13:
         return 13;
      case 14:
         return 14;
      case 15:
         return 15;
      case 16:
         return 16;
      case 17:
         return 17;
      case 18:
         return 18;
      case 19:
         return 19;
      case 20:
         return 20;
      case 21:
         return 21;
      case 22:
         return 22;
      case 23:
         return 23;
      case 24:
         return 24;
      case 25:
         return 25;
      case 26:
         return 26;
      case 27:
         return 27;
      case 28:
         return 28;
      case 29:
         return 29;
      case 30:
         return 30;
      case 31:
         return 31;
      case 32:
         return 32;
      case 33:
         return 33;
      case 34:
         return 34;
      case 35:
         return 35;
      case 36:
         return 36;
      case 37:
         return 37;
      case 38:
         return 38;
      case 39:
         return 39;
      case 40:
         return 40;
      case 41:
         return 41;
      case 42:
         return 42;
      case 43:
         return 43;
      case 44:
         return 44;
      case 45:
         return 45;
      case 46:
         return 46;
      case 47:
         return 47;
      case 48:
         return 48;
      case 49:
         return 49;
      case 50:
         return 50;
      case 51:
         return 51;
      case 52:
         return 52;
      case 53:
         return 53;
      case 54:
         return 54;
      case 55:
         return 55;
      case 56:
         return 56;
      case 57:
         return 57;
      case 58:
         return 58;
      case 59:
         return 59;
      case 60:
         return 60;
      case 61:
         return 61;
      case 62:
         return 62;
      case 63:
         return 63;
      case 64:
         return 64;
      case 65:
         return 65;
      case 66:
         return 66;
      case 67:
         return 67;
      case 68:
         return 68;
      case 69:
         return 69;
      case 70:
         return 70;
      case 71:
         return 71;
      case 72:
         return 72;
      default:
         return 14;
      }
   }

   static int j(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
      default:
         return 2;
      case 3:
         return 3;
      }
   }

   static int k(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
      default:
         return 1;
      case 2:
         return 2;
      case 3:
         return 3;
      case 4:
         return 4;
      }
   }

   static int l(int var0) {
      switch(var0) {
      case 1:
         return 0;
      case 2:
         return 2;
      default:
         return 1;
      }
   }

   static int m(int var0) {
      switch(var0) {
      case 0:
         return 1;
      case 1:
         return 2;
      case 2:
         return 3;
      case 3:
         return 4;
      case 4:
         return 5;
      case 5:
         return 6;
      case 6:
         return 7;
      case 7:
         return 8;
      default:
         return 0;
      }
   }

   static int n(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
         return 5;
      case 3:
         return 4;
      case 4:
         return 2;
      case 5:
      case 6:
      default:
         return 2;
      case 7:
         return 3;
      }
   }

   static int o(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
         return 2;
      case 3:
         return 3;
      case 4:
         return 4;
      case 5:
         return 5;
      case 6:
         return 6;
      case 7:
         return 7;
      case 8:
         return 8;
      case 9:
         return 9;
      default:
         return 1;
      }
   }

   static int p(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
      default:
         return 2;
      case 3:
         return 3;
      }
   }

   static int q(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
         return 2;
      case 3:
         return 3;
      default:
         return 0;
      }
   }

   static int r(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
         return 2;
      case 3:
         return 3;
      case 4:
         return 4;
      case 5:
         return 5;
      default:
         return 0;
      }
   }

   static int s(int var0) {
      switch(var0) {
      case 0:
         return 1;
      case 1:
         return 2;
      case 2:
         return 0;
      case 3:
         return 3;
      default:
         return 1;
      }
   }

   static int t(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
         return 4;
      case 3:
         return 2;
      case 4:
         return 3;
      case 5:
         return 5;
      case 6:
         return 6;
      case 7:
         return 7;
      default:
         return 6;
      }
   }

   static int u(int var0) {
      switch(var0) {
      case 1:
         return 0;
      case 2:
         return 10;
      case 3:
         return 1;
      case 4:
         return 9;
      case 5:
      default:
         return 6;
      case 6:
         return 8;
      case 7:
         return 12;
      case 8:
         return 11;
      }
   }

   static int v(int var0) {
      switch(var0) {
      case -1:
      case 0:
         return 1;
      case 1:
         return 2;
      case 2:
         return 3;
      default:
         return 1;
      }
   }

   static int w(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
         return 2;
      case 3:
         return 3;
      case 4:
         return 4;
      default:
         return 0;
      }
   }

   static int x(int var0) {
      switch(var0) {
      case 0:
         return 1;
      case 1:
         return 2;
      case 2:
         return 3;
      case 3:
         return 0;
      default:
         return 2;
      }
   }

   static int y(int var0) {
      switch(var0) {
      case 0:
         return 1;
      case 1:
         return 2;
      case 2:
         return 3;
      case 3:
         return 0;
      default:
         return 1;
      }
   }

   static int z(int var0) {
      switch(var0) {
      case 1:
         return 1;
      case 2:
         return 2;
      case 3:
         return 3;
      case 4:
         return 4;
      case 5:
         return 5;
      default:
         return 0;
      }
   }

   static int A(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
         return 2;
      default:
         return 0;
      }
   }

   static int B(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
         return 2;
      default:
         return 0;
      }
   }

   static int C(int var0) {
      switch(var0) {
      case 1:
         return 1;
      case 2:
         return 2;
      case 3:
         return 3;
      case 4:
         return 4;
      case 5:
         return 5;
      default:
         return 0;
      }
   }

   static int D(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 2;
      case 2:
      default:
         return 1;
      case 3:
         return 3;
      }
   }

   static int E(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
         return 2;
      case 3:
         return 3;
      case 4:
         return 4;
      default:
         return 5;
      }
   }

   static int F(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 0;
      case 2:
         return 0;
      case 3:
         return 2;
      case 4:
         return 4;
      case 5:
         return 5;
      case 6:
         return 6;
      case 7:
      default:
         return 7;
      case 8:
         return 8;
      }
   }

   static int G(int var0) {
      switch(var0) {
      case 1:
         return 1;
      case 2:
         return 2;
      case 3:
         return 3;
      default:
         return 0;
      }
   }

   static int H(int var0) {
      switch(var0) {
      case 1:
         return 1;
      case 2:
         return 2;
      default:
         return 0;
      }
   }

   static int I(int var0) {
      switch(var0) {
      case 0:
         return 1;
      case 1:
         return 2;
      case 2:
         return 3;
      case 3:
         return 4;
      default:
         return 0;
      }
   }

   static int J(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
         return 2;
      case 3:
         return 3;
      case 4:
         return 4;
      case 5:
         return 5;
      default:
         return 6;
      }
   }

   static int K(int var0) {
      switch(var0) {
      case 0:
         return 0;
      case 1:
         return 1;
      case 2:
         return 2;
      case 3:
         return 3;
      default:
         return 3;
      }
   }
}
